//
// Created by Administrator on 2024/11/11.
//

#ifndef AI_PACS_DICOMIMAGE_H
#define AI_PACS_DICOMIMAGE_H

#include <map>
#include "../constant/dicomSchema.h"
#include <utility>
#include <istream>
#include <cstring>
#include <iostream>
#include <charconv>


class DicomImage {
public:
    static DicomStudy addSeriesToStudy(const std::vector<std::map<std::string, std::string>> &images);

    static DicomInstance buildInstance(const std::map<std::string, std::string> &d);

    static DicomSeries buildSeries(const std::map<std::string, std::string> &d, const std::vector<DicomInstance> &inst);


    static DicomStudy buildStudy(const std::map<std::string, std::string> &d);

};


#endif //AI_PACS_DICOMIMAGE_H
